package com.wxxymaker.model.entity;

import com.blade.kit.json.JsonFormat;
import io.github.biezhi.anima.Model;
import io.github.biezhi.anima.annotation.Table;

import java.util.Date;

/**
 * @Author: Soft
 * @Date: 2018/6/2 21:18
 * @Desc: 邮件表
 */
@Table(name = "email")
public class Email extends Model {
    private Integer id;      // 主键
    private String  name;    // 发送人姓名
    private Integer sex;     // 性别 1男 2女
    private String  tel;     // 发送人电话
    @JsonFormat(value = "yyyy-MM-dd HH:mm:ss")
    private Date    time;    // 发送时间
    private String  email;   // 发送人邮箱
    private int     status;  // 阅读状态 0未读 1 已读
    private String  content; // 邮件内容

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
